package com.yykj.common.util;

import java.time.format.DateTimeFormatter;

public class LocalDateTimeFormatterUtil {
    public static DateTimeFormatter getLocalDateFormatter(){
        return DateTimeFormatter.ofPattern("yyyy-MM-dd");
    }

    public static DateTimeFormatter getLocalDateTimeFormatter(){
        return DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
    }


}
